<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<style type="text/css">
	.form-multi-col-panel {
	    position: relative;
	    padding: 10px 0;
	    /* background-color: #f8f8f8; */
	    margin-bottom: 11px;
	}
		
</style>

<script type="text/javascript">
	var prdPath = '<%=context%>business/product/demand/';
	//默认加载
	$(function() {
		//把访问路径传到js
		setPathPrefix(prdPath);
	});
</script>



<body class="fixed-nav">
	<div class="result-box">
	<!-- 按钮 -->
	<div style="display: none;" id="templateUpdateTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='updateDemand' param=''></wasp:opera></div>
	<div style="display: none;" id="templateDeleteTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='delDemand' param=''></wasp:opera></div>
	<div style="display: none;" id="templateDetailTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='demandDetail' param=''></wasp:opera></div>
	<div style="display: none;" id="templateDownloadTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='downloadDemand' param=''></wasp:opera></div>
	
	
		<div class="form-multi-col-panel">
			<div class="form-item-group form-horizontal">
				<div>
					<div class="form-item">
						<span class="form-field">需求标题</span> <span class="form-input">
							<input type="text" class="form-control" id="q-title" />
						</span>
					</div>
					<div class="form-item">
						<span class="form-field">需求类型</span> 
						<span class="form-input">
							<select class="form-control use-select2" id="q-type">
								<option value="">全部</option>
								<c:forEach var="dictDto" items="${typeList }">
									<option value="${dictDto.dctValue }">${dictDto.dctName }</option>
								</c:forEach>
							</select>
						</span>
					</div>
					<div class="form-item" id="div_status">
						<span class="form-field">数据状态</span> 
						<span class="form-input">
							<select class="form-control use-select2" id="q-status">
								<option value="">全部</option>
								<c:forEach var="dictDto" items="${statusList }">
									<option value="${dictDto.dctValue }">${dictDto.dctName }</option>
								</c:forEach>
							</select>
						</span>
					</div>
					<div class="form-item">
						<span class="form-field">创建日期</span> 
						<span class="form-input">
							<input type="text" class="form-control" id="q-createTime" />
						</span>
					</div>
				</div>
			</div>
			
			
			<div class="form-action">
				<button class="btn btn-primary" type="submit" id="market_opinion-search" onclick="queryByCondtion(true, 'MO')"><i class="fa fa-search"></i>&nbsp;查询</button>
				<button class="btn btn-outline btn-default" id="resetBtn" name="resetBtn"  type="reset">清空</button>
			</div>
		</div>
		
		<div class="form-search-group">
			<wasp:opera fun="WASP_DEMAND.addView();" id="addDemand"></wasp:opera>
		</div>
		
		<div class="jqGrid_wrapper fullscreen-wrapper">
			<table id="prdList"></table>
			<div id="prdListPage"></div>
		</div>
	</div>

<script type="text/javascript"src="<%=context%>resources/modules/business/demand/demandList.js?r=<%=Math.random()%>"></script>
</body>
</html>